<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <script>
        var id = 1,
            name = 'zzq',
            age = 18,
            address = '河南省';
        // alert('我是'+name+'我的ID是'+id+'号，我的年龄是'+'我的地址是'+address);

        var name1 = 'aaa';
        var name2 = 'bbb';
        var name3 = name1;
       
        var name1 = name2;
        var name2 = name3;
        alert(name1+name2);
    </script>
</body>

</html>